﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace QuanLyKhachSan
{
    public partial class PopUp : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string UCName = this.Request.QueryString["UCName"];
            string UCPath = this.Request.QueryString["UCPath"];
            if (UCName != "" && UCPath != "")
            { 
                Control cPopUp = Page.LoadControl(ResolveUrl("~/UserControls/" + UCPath + "/" + UCName + ".ascx"));
                UC_PopUp.Controls.Add(cPopUp);
            }
        }
    }
}